//
//  MoBanThirTennThreeCell.m
//  MoBan
//
//  Created by apple on 16/7/28.
//  Copyright © 2016年 apple. All rights reserved.
//

#import "MoBanThirTennThreeCell.h"
@interface MoBanThirTennThreeCell()
@property(nonatomic,strong)UILabel *lable1;
@property(nonatomic,strong)UILabel *lable2;
@property(nonatomic,strong)UIImageView *imageview;
@property(nonatomic,strong)UIImageView *arrowimageview;
@end
@implementation MoBanThirTennThreeCell
-(instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    if (self = [super initWithStyle:style reuseIdentifier:reuseIdentifier]) {
        [self AddUi];
    }
    return self;

}
-(void)AddUi
{
    
    self.lable1 = [[UILabel alloc]init];
    self.lable1.text = @"顾客满意度";
    [self.contentView addSubview:self.lable1];
    
    self.lable2 = [[UILabel alloc]init];
    self.lable2.text = @"现用户的评价";
    [self.contentView addSubview:self.lable2];
    
    self.imageview = [[UIImageView alloc]init];
    self.imageview.image = [UIImage imageNamed:@"text.png"];
    [self.contentView addSubview:self.imageview];
    
    self.arrowimageview = [[UIImageView alloc]init];
    self.arrowimageview.backgroundColor = [UIColor blueColor];
    [self.contentView addSubview:self.arrowimageview];

}
-(void)layoutSubviews
{
    [super layoutSubviews];
    self.imageview.frame = CGRectMake(10*Kscr, 5*Kscr, 20*Kscr, 20*Kscr);
    self.lable1.frame = CGRectMake(self.imageview.right+5*Kscr, 5*Kscr, 200*Kscr, 20*Kscr);
    self.lable2.frame = CGRectMake(10*Kscr, self.lable1.bottom+5*Kscr, 300*Kscr, 20*Kscr);
    self.arrowimageview.frame = CGRectMake(KscrW-40*Kscr, 20*Kscr, 10*Kscr, 20*Kscr);

}
/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
